﻿namespace netCoreStudy.Dto.User
{
	/// <summary>
	/// 登录成功的userDto
	/// </summary>
	public class LoginDto
	{
		public LoginDto(UserDto user, string token)
		{
			User = user;
			Token = token;
		}

		/// <summary>
		/// 用户实体
		/// </summary>
		public UserDto User { get; set; }

		/// <summary>
		/// jwt密钥   
		/// </summary>
		public string Token { get; set; }
	}
}